package com.kagura.IOC.annotationLogin.dao.impl;

import com.kagura.IOC.annotationLogin.dao.UserDao;
import org.springframework.stereotype.Repository;

/**
 * @Classname UserDaoImpl
 * @Description TODO
 * @Author 将烬星火是否太炽热, 明日黄花会开败阡陌
 * @Date 2021-08-17 下午 09:24
 * @Version 1.0
 **/
@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public boolean login(String loginUser, String loginPwd) {
        if (loginUser.equals("admin") && loginPwd.equals("123456")) {
            return true;
        }
        return false;
    }
}
